/* @media screen and (min-width:0\0) */

@charset'utf-8';
@import'../../open_scss/theme';
@import'../../open_scss/color';
@import'../../open_scss/model';
.goods_details {
    width: 100%;
    .icon-spin4 {
        &:before {
            @include animation(spin, 2);
        }
    }
    .goodsimg {
        width: 100%;
        padding-bottom: 1.5rem;
        .bigbox {
            position: relative;
            background-color: rgba($white, 0.5);
            width: 100%;
            overflow: hidden;
            .movebox {
                width: 100%;
                @include breakLine;
                .bigimg {
                    width: 100%;
                    display: inline-block;
                    vertical-align: top;
                }
            }
        }
        .smallbox {
            width: 96%;
            padding: 0 2%;
            margin-top: 20px;
            .smallitem {
                display: inline-block;
                vertical-align: middle;
                width: 10%;
                margin-right: 1%;
                text-align: center;
            }
            .smallimg {
                max-width: 100%;
                max-height: 100%;
                vertical-align: middle;
            }
        }
    }
    .goodsinfo {
        width: 98%;
        padding: 1rem 1%;
        background-color: rgba($white, 0.7);
        .titlebar {
            font-size: 20px;
            margin-bottom: 10px;
            position: relative;
            padding-right: 80px;
            @include newLine;
            .cb-main {
                position: absolute;
                width: 75px;
                text-align: right;
                right: 0;
                top: 0;
                font-size: 13px;
                line-height: 20px;
                color: $pink;
            }
        }
        .price {
            font-size: 1.3rem;
            color: $red;
            .price-old {
                font-size: 15px;
                padding-left: 15px;
                text-decoration: line-through;
                color: $grayLight;
            }
        }
        .goods-attr {
            margin: 10px 0;
            .icon-emo-happy, .icon-truck {
                display: inline-block;
                vertical-align: top;
                color: $green;
                &:before {
                    font-size: 1.2rem;
                    padding-right: 5px;
                }
                width: 33.3%;
            }
            .freight {
                color: $black;
                display: inline-block;
                vertical-align: top;
                width: 33.3%;
            }
        }
        .intro {
            padding: 1rem 2%;
            background-color: $grayLighter;
            color: #777;
            font-size: 15px;
            line-height: 22px;
        }
        .saleinfo {
            width: 100%;
            margin: .5rem 0;
            .item {
                width: 50%;
                display: inline-block;
            }
        }
    }
    .goods-menu {
        margin: .5rem 0;
        .icon-picture, .icon-comment {
            display: inline-block;
            vertical-align: top;
            text-align: center;
            padding: .6rem 0;
            background-color: $grayLighter;
            color: $black;
            width: 50%;
            &:before {
                font-size: 1.1rem;
            }
        }
    }
    .content {
        padding: 1rem 2%;
        margin-top: 15px;
        overflow: hidden;
        @include newLine;
        line-height: 25px;
        color: $black;
        background-color: $white;
        .title {
            padding: 10px 0;
            font-size: 18px;
            border-bottom: 1px solid #ccc;
            margin-bottom: 15px;
        }
        img, video, embed, object {
            margin: 10px 0;
            display: block;
            max-width: 100%;
            height: auto;
        }
    }
    .sharebox {
        padding: 0 2%;
        .share {
            padding: .5rem 0;
            .i {
                display: inline-block;
                font-size: 1.3rem;
                padding: .1rem .3rem;
            }
            img {
                width: 200px;
                height: 200px;
            }
        }
    }
    .comments_box {
        padding: .5rem 1%;
        .comment {
            border: 1px solid $grayLighter;
            margin-bottom: 10px;
            .comment_title {
                padding: 0 5px;
                background-color: $grayLighter;
                color: $black;
                .item, .time {
                    @include Line(1);
                    line-height: 25px;
                    width: 50%;
                    display: inline-block;
                    vertical-align: top;
                }
                .time {
                    text-align: right;
                }
            }
            .comment_detail {
                padding: 5px;
                .main_comment {
                    margin-bottom: 5px;
                    line-height: 22px;
                }
                .comment_child_box {
                    border: 1px solid $grayLighter;
                    .comment_child {
                        width: 100%;
                        .comment_child_title {
                            padding: 0 5px;
                            background-color: $grayLighter;
                            color: $black;
                            .item, .time {
                                line-height: 25px;
                                @include Line(1);
                                width: 50%;
                                display: inline-block;
                                vertical-align: top;
                                &.focus {
                                    color: $cyan;
                                }
                            }
                            .time {
                                text-align: right;
                            }
                        }
                        .comment_child_text {
                            padding: 5px;
                            line-height: 22px;
                        }
                    }
                }
            }
        }
    }
    .bottomblock {
        height: 60px;
        width: 100%;
    }
    .floatbtnbox {
        width: 100%;
        padding: 0;
        height: 3.5rem;
        line-height: 3.5rem;
        position: fixed;
        z-index: 1006;
        bottom: 0;
        text-align: center;
        background-color: $grayLighter;
        font-weight: lighter;
        .icon-left-open-big, .icon-home {
            display: inline-block;
            width: 11%;
            vertical-align: top;
            text-align: center;
            background-color: $grayLighter;
            height: 3.5rem;
            line-height: 3.5rem;
            color: $black;
            &:before {
                font-size: 1.5rem;
            }
        }
        .icon-heart, .icon-heart-empty {
            display: inline-block;
            vertical-align: top;
            height: 3.5rem;
            width: 22%;
            text-align: center;
            line-height: 3.5rem;
            background-color: $grayLighter;
            color: $black;
            &:before {
                font-size: 1.5rem;
            }
        }
        .icon-heart {
            color: $pink;
        }
        .icon-basket {
            @include breakLine;
            vertical-align: top;
            overflow: hidden;
            font-size: 1.5rem;
            display: inline-block;
            text-align: center;
            background-color: $pink;
            color: $white;
            height: 3.5rem;
            line-height: 3.5rem;
            width: 67%;
            &:before {
                font-size: 1.5rem;
            }
        }
    }
}
